package com.usian.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmUserDto;
import com.usian.model.media.pojos.WmUser;

import java.util.List;

public interface WmUserService extends IService<WmUser> {

    ResponseResult add(WmUser user);

    WmUser findByUserName(String name);

    ResponseResult login(WmUserDto dto);
}
